#!/bin/bash
set -e
set -x
MYDIR="${0%/*}"
cd "$MYDIR/.."
source "recipes/common.sh"


# RECIPE START fakeroot
# depends: acl
# depends: libcap

reset_mtime fakeroot fakeroot/configure.ac
rm -rf build/fakeroot
mkdir -p build/fakeroot
cd build/fakeroot
../../fakeroot/configure \
	${CONFIGURE_ARGS} \
	--libdir=$prefix/${target_libdir}/libfakeroot \
	${AUTOCRAP_KLUDGE}

cd ../..
make_build build/fakeroot

# RECIPE END fakeroot
